package com.ruoyi.system.Fdongbei.mapper.dibang;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.Fdongbei.domain.dibang.*;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

@DataSource(value = DataSourceType.LY002_D)
public interface HuayanDoMapper {
    int insert(HuayanDo record);

    int insertSelective(HuayanDo record);

    BigDecimal selectByCzbh(@Param("czbh")String czbh);

    @MapKey("czbh")
    HashMap<String,HuayanDo> selectByCzbhs(List czbhs);
    HuayanDo selectByPrimaryKey(@Param("czbh")String czbh);
}